// VECTORES
package labs;

public class for03 {
    
   public static void main(String[] args) {

     //  int[] x;  //Declarando un vector
         int[] x = new int[5];
         
         for (int i = 0; i < x.length; i++) {
          
           x[i] = (1 + i);
         }
             for (int i = 0; i < x.length; i++) {
               System.out.print(i);
              
                 
             }
             
          for (int z : x) {
           System.out.println(z);
       }
               
       }
    }